Trees | Index | Help |
|
---|
Package phones :: Module com_samsung :: Class Phone |
|
object
--+ |Phone
--+ |RealBrewProtocol
--+ | Phone
Phone
,
Phone
,
Phone
Method Summary | |
---|---|
Call all the contructors and sets initial modes | |
Parse a Samsung comma separated list. | |
Fixes up phonebook responses with the alias field. | |
del_phone_entry(self,
entry_index)
| |
detectphone(_,
coms,
likely_ports,
res,
_module,
_log)
(Class method) | |
encode_timedate(self,
td)
| |
extract_timedate(self,
td)
| |
get_analog_digital(self)
| |
get_battery_level(self)
| |
get_calendar_entry(self,
entry_index)
| |
get_canned_msg(self,
entry_index)
| |
get_detect_data(self,
r)
| |
get_esn(self)
| |
get_firmware_version(self)
| |
get_groups(self,
groups_range)
| |
get_manufacturer(self)
| |
get_memo_entry(self,
entry_index)
| |
get_model(self)
| |
get_phone_entry(self,
entry_index,
alias_column,
num_columns)
| |
get_phone_number(self)
| |
get_signal_quality(self)
| |
get_sms_inbox(self,
entry_index)
| |
get_sms_saved(self,
entry_index)
| |
get_sms_sent(self,
entry_index)
| |
get_time_stamp(self)
| |
get_todo_entry(self,
entry_index)
| |
getcalendar(self,
result)
| |
is_mode_modem(self)
| |
is_online(self)
| |
Convert the phone number into something the phone understands All digits, P, T, * and # are kept, everything else is removed | |
Optimize and expand calendar data suitable for phone download | |
Escape double quotes and }'s in a string... | |
save_calendar_entry(self,
entry_str)
| |
save_canned_msg(self,
entry_str)
| |
save_memo_entry(self,
entry_str)
| |
save_phone_entry(self,
entry_str)
| |
save_todo_entry(self,
entry_str)
| |
savecalendar(self,
dict,
merge)
| |
Split fields and unescape double quote and right brace | |
_get_at_response(self)
| |
_getmemo(self,
result)
| |
_getphoneinfo(self,
phone_info)
| |
_getsms(self,
result)
| |
_gettodo(self,
result)
| |
_savememo(self,
result,
merge)
| |
_savesms(self,
result,
merge)
| |
_savetodo(self,
result,
merge)
| |
_send_and_get(self,
at_command)
| |
_send_at_and_get(self,
cmd)
| |
_setmodebrew(self)
| |
_setmodebrewtomodem(self)
| |
_setmodemodem(self)
| |
_setmodemodemtobrew(self)
| |
_setmodemodemtophonebook(self)
| |
_setmodephonebook(self)
| |
_setmodephonebooktobrew(self)
| |
_setmodephonebooktomodem(self)
| |
Inherited from Phone | |
Raises an alert in the main thread | |
| |
Log a message | |
Log some data with option data object/class for the analyser | |
Update the progress meter | |
Raise a comms DeviceNeedsAttention Exception | |
| |
Read the specified filename and bind it to the object class | |
Ensure the phone is in the right mode | |
Writhe the object into the file | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from RealBrewProtocol | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
Class Variable Summary | |
---|---|
str |
desc = 'Samsung SCH-Axx phone'
|
str |
MODEPHONEBOOK = 'modephonebook'
|
str |
_AT_str = 'AT'
|
int |
_cal_alarm_type = 4 |
dict |
_cal_alarm_values = {'1': 0, '0': -1, '3': 30, '2': 10, ...
|
int |
_cal_datetime_stamp = 3 |
int |
_cal_end_datetime = 2 |
str |
_cal_end_datetime_value = '19800106T000000'
|
xrange |
_cal_entries_range = xrange(20)
|
int |
_cal_entry = 0 |
int |
_cal_max_events = 20 |
int |
_cal_max_events_per_day = 9 |
int |
_cal_max_name_len = 32 |
int |
_cal_num_of_read_fields = 7 |
int |
_cal_num_of_write_fields = 6 |
int |
_cal_read_name = 6 |
int |
_cal_start_datetime = 1 |
int |
_cal_write_name = 5 |
str |
_Error_str = '\r\nERROR\r\n'
|
str |
_OK_str = '\r\nOK\r\n'
|
float |
_read_timeout = 0.10000000000000001 |
str |
_switch_mode_cmd = 'DX\xf4~'
|
Inherited from Phone | |
NotImplementedType |
getcallhistory = NotImplemented
|
NotImplementedType |
getmemo = NotImplemented
|
NotImplementedType |
getplaylist = NotImplemented
|
NotImplementedType |
getsms = NotImplemented
|
NotImplementedType |
gett9db = NotImplemented
|
NotImplementedType |
gettodo = NotImplemented
|
str |
MODEMODEM = 'modemodem'
|
str |
MODENONE = 'modenone'
|
Inherited from RealBrewProtocol | |
str |
brewterminator = '~'
|
str |
MODEBREW = 'modebrew'
|
int |
_brewepochtounix = 315964800 |
Instance Method Details |
---|
__init__(self,
logtarget,
commport)
Call all the contructors and sets initial modes
|
csvsplit(self, line)Parse a Samsung comma separated list. |
defrell(self, s, acol, ncol)Fixes up phonebook responses with the alias field. The alias field does not have quotes around it, but can still contain commas |
phonize(self, str)Convert the phone number into something the phone understands All digits, P, T, * and # are kept, everything else is removed |
process_calendar(self, dict)Optimize and expand calendar data suitable for phone download |
samsungescape(self, s)Escape double quotes and }'s in a string |
splitandunescape(self, line)Split fields and unescape double quote and right brace |
Class Variable Details |
---|
desc
|
MODEPHONEBOOK
|
_AT_str
|
_cal_alarm_type
|
_cal_alarm_values
|
_cal_datetime_stamp
|
_cal_end_datetime
|
_cal_end_datetime_value
|
_cal_entries_range
|
_cal_entry
|
_cal_max_events
|
_cal_max_events_per_day
|
_cal_max_name_len
|
_cal_num_of_read_fields
|
_cal_num_of_write_fields
|
_cal_read_name
|
_cal_start_datetime
|
_cal_write_name
|
_Error_str
|
_OK_str
|
_read_timeout
|
_switch_mode_cmd
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:25 2008 | http://epydoc.sf.net |